<li>
            <label for="promotion_id"><?php echo $this->lang->line('label.discussion.promotion_id') ?></label>
            <div class="input"><select id="promotion_id" name="promotion_id" class="chzn chzn-done" style="visibility: visible;">
                <option value="0">
                  <?php echo $this->lang->line('label.option.select')?>
                </option>
                <?php 
                  $ref_objs = $this->promotion_model->get_all();
                  foreach ($ref_objs as $ref) { ?>
                  <option value="<?php echo $ref["id"] ?>"
                    <?php echo empty($obj["promotion_id"]) || $obj["promotion_id"] != $ref["id"] ? "" : 'selected="selected"' ?>>
                    <?php echo $this->promotion_model->to_string($ref) ?>
                  </option>
                <?php } ?>
              </select></div>
          </li><li>
            <label for="title"><?php echo $this->lang->line('label.discussion.title') ?></label>
            <div class="input"><input type="text" id="title" value="<?php echo empty($obj["title"]) ? "" : $obj["title"] ?>" name="title">
</div>
          </li><li>
            <label for="content"><?php echo $this->lang->line('label.discussion.content') ?></label>
            <br style="clear:both">
                    <textarea class="wysiwyg-advanced" rows="20" cols="40" name="content" id="content"
                              style="visibility: visible;"><?php echo empty($obj["content"]) ? "" : $obj["content"] ?></textarea>
          </li><li>
            <label for="date_post"><?php echo $this->lang->line('label.discussion.date_post') ?></label>
            <div class="input"><input type="text" id="date_post" value="<?php echo empty($obj["date_post"]) ? "" : $obj["date_post"] ?>" name="date_post">
</div>
          </li><li>
            <label for="end_user_id"><?php echo $this->lang->line('label.discussion.end_user_id') ?></label>
            <div class="input"><select id="end_user_id" name="end_user_id" class="chzn chzn-done" style="visibility: visible;">
                <option value="0">
                  <?php echo $this->lang->line('label.option.select')?>
                </option>
                <?php 
                  $ref_objs = $this->end_user_model->get_all();
                  foreach ($ref_objs as $ref) { ?>
                  <option value="<?php echo $ref["id"] ?>"
                    <?php echo empty($obj["end_user_id"]) || $obj["end_user_id"] != $ref["id"] ? "" : 'selected="selected"' ?>>
                    <?php echo $this->end_user_model->to_string($ref) ?>
                  </option>
                <?php } ?>
              </select></div>
          </li>